
<!DOCTYPE html>
<html lang="en">
	<head>
    	<meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>Proton - Admin Template</title>

		<!-- Import google fonts - Heading first/ text second -->
        <link rel='stylesheet' type='text/css' />
        <!--[if lt IE 9]>
<link href="http://fonts.useso.com/css?family=Open+Sans:400" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Droid+Sans:400" rel="stylesheet" type="text/css" />
<link href="http://fonts.useso.com/css?family=Droid+Sans:700" rel="stylesheet" type="text/css" />
<![endif]-->

		<!-- Fav and touch icons -->
		<link rel="shortcut icon" href="__ADMIN__assets/ico/favicon.ico" type="image/x-icon" />

	    <!-- Css files -->
	    <link href="__ADMIN__assets/css/bootstrap.min.css" rel="stylesheet">
		<link href="__ADMIN__assets/css/jquery.mmenu.css" rel="stylesheet">
		<link href="__ADMIN__assets/css/font-awesome.min.css" rel="stylesheet">
		<link href="__ADMIN__assets/css/climacons-font.css" rel="stylesheet">
		<link href="__ADMIN__assets/plugins/xcharts/css/xcharts.min.css" rel=" stylesheet">
		<link href="__ADMIN__assets/plugins/fullcalendar/css/fullcalendar.css" rel="stylesheet">
		<link href="__ADMIN__assets/plugins/morris/css/morris.css" rel="stylesheet">
		<link href="__ADMIN__assets/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
		<link href="__ADMIN__assets/plugins/jvectormap/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
	    <link href="__ADMIN__assets/css/style.min.css" rel="stylesheet">
		<link href="__ADMIN__assets/css/add-ons.min.css" rel="stylesheet">



		<link href="__ADMIN__layui/css/layui.css" rel="stylesheet">



	    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	    <!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
	    <!-- 头部区块 -->
	    <block name="top"></block>
	    <style type="text/css">
	    	.error{ color:red; font-size:12px; font-weight: normal;}
	    	.a{text-decoration:none;}
	    	.a:hover{text-decoration:none;}
	    </style>
	</head>
</head>

<body>
	<!-- start: Header -->
	<div class="navbar" role="navigation">

		<div class="container-fluid">

			<ul class="nav navbar-nav navbar-actions navbar-left">
				<li class="visible-md visible-lg"><a href="index.html#" id="main-menu-toggle"><i class="fa fa-th-large"></i></a></li>
				<li class="visible-xs visible-sm"><a href="index.html#" id="sidebar-menu"><i class="fa fa-navicon"></i></a></li>
			</ul>

			<form class="navbar-form navbar-left">
				<button type="submit" class="fa fa-search"></button>
				<input type="text" class="form-control" placeholder="Search..."></a>
			</form>
			<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >免费模板</a></div>
	        <ul class="nav navbar-nav navbar-right">
				<li class="dropdown visible-md visible-lg">
	        		<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope-o"></i><span class="badge">5</span></a>
	        		<ul class="dropdown-menu">
						<li class="dropdown-menu-header">
							<strong>Messages</strong>
							<div class="progress thin">
							  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
							    <span class="sr-only">30% Complete (success)</span>
							  </div>
							</div>
						</li>
						<li class="avatar">
							<a href="page-inbox.html">
								<img class="avatar" src="__ADMIN__assets/img/avatar1.jpg">
								<div>New message</div>
								<small>1 minute ago</small>
								<span class="label label-info">NEW</span>
							</a>
						</li>
						<li class="avatar">
							<a href="page-inbox.html">
								<img class="avatar" src="__ADMIN__assets/img/avatar2.jpg">
								<div>New message</div>
								<small>3 minute ago</small>
								<span class="label label-info">NEW</span>
							</a>
						</li>
						<li class="avatar">
							<a href="page-inbox.html">
								<img class="avatar" src="__ADMIN__assets/img/avatar3.jpg">
								<div>New message</div>
								<small>4 minute ago</small>
								<span class="label label-info">NEW</span>
							</a>
						</li>
						<li class="avatar">
							<a href="page-inbox.html">
								<img class="avatar" src="__ADMIN__assets/img/avatar4.jpg">
								<div>New message</div>
								<small>30 minute ago</small>
							</a>
						</li>
						<li class="avatar">
							<a href="page-inbox.html">
								<img class="avatar" src="__ADMIN__assets/img/avatar5.jpg">
								<div>New message</div>
								<small>1 hours ago</small>
							</a>
						</li>
						<li class="dropdown-menu-footer text-center">
							<a href="page-inbox.html">View all messages</a>
						</li>
	        		</ul>
	      		</li>
				<li class="dropdown visible-md visible-lg">
	        		<a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bell-o"></i><span class="badge">3</span></a>
	        		<ul class="dropdown-menu">
						<li class="dropdown-menu-header">
							<strong>Notifications</strong>
							<div class="progress thin">
							  <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="30" aria-valuemin="0" aria-valuemax="100" style="width: 30%">
							    <span class="sr-only">30% Complete (success)</span>
							  </div>
							</div>
						</li>
                        <li class="clearfix">
							<i class="fa fa-comment"></i>
                            <a href="page-activity.html" class="notification-user"> Sharon Rose </a>
                            <span class="notification-action"> replied to your </span>
                            <a href="page-activity.html" class="notification-link"> comment</a>
                        </li>
                        <li class="clearfix">
                            <i class="fa fa-pencil"></i>
                            <a href="page-activity.html" class="notification-user"> Nadine </a>
                            <span class="notification-action"> just write a </span>
                            <a href="page-activity.html" class="notification-link"> post</a>
                        </li>
                        <li class="clearfix">
                            <i class="fa fa-trash-o"></i>
                            <a href="page-activity.html" class="notification-user"> Lorenzo </a>
                            <span class="notification-action"> just remove <a href="#" class="notification-link"> 12 files</a></span>
                        </li>
						<li class="dropdown-menu-footer text-center">
							<a href="page-activity.html">View all notification</a>
						</li>
	        		</ul>
	      		</li>
				<li class="dropdown visible-md visible-lg">
					 <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-gears"></i></a>
					<ul class="dropdown-menu update-menu" role="menu">
						<li><a href="#"><i class="fa fa-database"></i> Database </a>
                        </li>
                        <li><a href="#"><i class="fa fa-bar-chart-o"></i> Connection </a>
                        </li>
                        <li><a href="#"><i class="fa fa-bell"></i> Notification </a>
                        </li>
                        <li><a href="#"><i class="fa fa-envelope"></i> Message </a>
                        </li>
                        <li><a href="#"><i class="fa fa-flash"></i> Traffic </a>
                        </li>
						<li><a href="#"><i class="fa fa-credit-card"></i> Invoices </a>
                        </li>
                        <li><a href="#"><i class="fa fa-dollar"></i> Finances </a>
                        </li>
                        <li><a href="#"><i class="fa fa-thumbs-o-up"></i> Orders </a>
                        </li>
						<li><a href="#"><i class="fa fa-folder"></i> Directories </a>
                        </li>
                        <li><a href="#"><i class="fa fa-users"></i> Users </a>
                        </li>
					</ul>
				</li>
				<li class="dropdown visible-md visible-lg">
	        		<a href="#" class="dropdown-toggle" data-toggle="dropdown"><img class="user-avatar" src="__ADMIN__assets/img/avatar.jpg" alt="user-mail">{$Think.session.admin_user.realname}</a>
	        		<ul class="dropdown-menu">
						<li class="dropdown-menu-header">
							<strong>Account</strong>
						</li>
						<li><a href="page-profile.html"><i class="fa fa-user"></i> Profile</a></li>
						<li><a href="page-login.html"><i class="fa fa-wrench"></i> Settings</a></li>
						<li><a href="page-invoice.html"><i class="fa fa-usd"></i> Payments <span class="label label-default">10</span></a></li>
						<li><a href="gallery.html"><i class="fa fa-file"></i> File <span class="label label-primary">27</span></a></li>
						<li class="divider"></li>
						<li><a href="{:U('Admin/admin/logout')}"><i class="fa fa-sign-out"></i>退出</a></li>
	        		</ul>
	      		</li>
				<li><a href="{:U('Admin/admin/logout')}"><i class="fa fa-power-off"></i></a></li>
			</ul>

		</div>

	</div>
	<!-- end: Header -->

	<div class="container-fluid content">

		<div class="row">

			<!-- start: Main Menu -->
			<div class="sidebar ">

				<div class="sidebar-collapse">
					<div class="sidebar-header t-center">
                        <span><img class="text-logo" src="__ADMIN__assets/img/logo1.png"><i class="fa fa-space-shuttle fa-3x blue"></i></span>
                    </div>
					<div class="sidebar-menu">
						<ul class="nav nav-sidebar">
							<li><a href="index.html"><i class="fa fa-laptop"></i><span class="text"> Dashboard</span></a></li>

							<foreach name="top_nav" item="v">
							<php>if(in_array($v['id'],$_SESSION['admin_user']['group_access'])){</php>
							<li>
								<a href="#">
									<i class="fa {$v.icon}"></i>
									<span class="text">{$v.name}</span>
									<span class="fa fa-angle-down pull-right"></span>
								</a>

                                <ul class="nav sub">
								<foreach name="child_nav" item="v1">
								<php>if(in_array($v1['id'],$_SESSION['admin_user']['group_access'])){</php>
								  <eq name="v['id']" value="$v1['pid']">
								  <li>
									  <a href="{:U($v1['url'])}">
										  <i class="fa {$v1.icon}"></i>
										  <span class="text">{$v1.name}</span>
									  </a>
								  </li>
								  </eq>
								<php>}</php>
								</foreach>
								</ul>

							</li>
							<php>}</php>
							</foreach>

						</ul>
					</div>
				</div>
				<div class="sidebar-footer">

					<div class="sidebar-brand">
						Proton
					</div>

					<ul class="sidebar-terms">
						<li><a href="index.html#">Terms</a></li>
						<li><a href="index.html#">Privacy</a></li>
						<li><a href="index.html#">Help</a></li>
						<li><a href="index.html#">About</a></li>
					</ul>

					<div class="copyright text-center">
						<small>Proton <i class="fa fa-coffee"></i> from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a></small>
					</div>
				</div>

			</div>
			<!-- end: Main Menu -->

		<!-- start: Content -->
		<!-- 可变内容区代码位置 -->
		<div class="main" style="background-color:#fff">
	    	<block name="mid"></block>
	    </div>
		<!-- end: Content -->
		<br><br><br>


		<div id="usage">
			<ul>
				<li>
					<div class="title">Memory</div>
					<div class="bar">
						<div class="progress">
						  	<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100" style="width: 50%"></div>
						</div>
					</div>
					<div class="desc">4GB of 8GB</div>
				</li>
				<li>
					<div class="title">HDD</div>
					<div class="bar">
						<div class="progress">
						  	<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 25%"></div>
						</div>
					</div>
					<div class="desc">250GB of 1TB</div>
				</li>
				<li>
					<div class="title">SSD</div>
					<div class="bar">
						<div class="progress">
					  		<div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%"></div>
						</div>
					</div>
					<div class="desc">700GB of 1TB</div>
				</li>
				<li>
					<div class="title">Bandwidth</div>
					<div class="bar">
						<div class="progress">
					  		<div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100" style="width: 90%"></div>
						</div>
					</div>
					<div class="desc">90TB of 100TB</div>
				</li>
			</ul>
		</div>

	</div><!--/container-->


	<div class="modal fade" id="myModal">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">Warning Title</h4>
				</div>
				<div class="modal-body">
					<p>Here settings can be configured...</p>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					<button type="button" class="btn btn-primary">Save changes</button>
				</div>
			</div><!-- /.modal-content -->
		</div><!-- /.modal-dialog -->
	</div><!-- /.modal -->

	<div class="clearfix"></div>


	<!-- start: JavaScript-->
	<!--[if !IE]>-->

			<script src="__ADMIN__assets/js/jquery-2.1.1.min.js"></script>

	<!--<![endif]-->

	<!--[if IE]>

		<script src="__ADMIN__assets/js/jquery-1.11.1.min.js"></script>

	<![endif]-->

	<!--[if !IE]>-->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='assets/js/jquery-2.1.1.min.js'>"+"<"+"/script>");
		</script>

	<!--<![endif]-->

	<!--[if IE]>

		<script type="text/javascript">
	 	window.jQuery || document.write("<script src='assets/js/jquery-1.11.1.min.js'>"+"<"+"/script>");
		</script>

	<![endif]-->
	<script src="__ADMIN__assets/js/jquery-migrate-1.2.1.min.js"></script>
	<script src="__ADMIN__assets/js/bootstrap.min.js"></script>


	<!-- page scripts -->
	<script src="__ADMIN__assets/plugins/jquery-ui/js/jquery-ui-1.10.4.min.js"></script>
	<script src="__ADMIN__assets/plugins/touchpunch/jquery.ui.touch-punch.min.js"></script>
	<script src="__ADMIN__assets/plugins/moment/moment.min.js"></script>
	<script src="__ADMIN__assets/plugins/fullcalendar/js/fullcalendar.min.js"></script>
	<!--[if lte IE 8]>
		<script language="javascript" type="text/javascript" src="__ADMIN__assets/plugins/excanvas/excanvas.min.js"></script>
	<![endif]-->
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.min.js"></script>
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.pie.min.js"></script>
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.stack.min.js"></script>
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.resize.min.js"></script>
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.time.min.js"></script>
	<script src="__ADMIN__assets/plugins/flot/jquery.flot.spline.min.js"></script>
	<script src="__ADMIN__assets/plugins/xcharts/js/xcharts.min.js"></script>
	<script src="__ADMIN__assets/plugins/autosize/jquery.autosize.min.js"></script>
	<script src="__ADMIN__assets/plugins/placeholder/jquery.placeholder.min.js"></script>
	<script src="__ADMIN__assets/plugins/datatables/js/jquery.dataTables.min.js"></script>
	<script src="__ADMIN__assets/plugins/datatables/js/dataTables.bootstrap.min.js"></script>
	<script src="__ADMIN__assets/plugins/raphael/raphael.min.js"></script>
	<script src="__ADMIN__assets/plugins/morris/js/morris.min.js"></script>
	<script src="__ADMIN__assets/plugins/jvectormap/js/jquery-jvectormap-1.2.2.min.js"></script>
	<script src="__ADMIN__assets/plugins/jvectormap/js/jquery-jvectormap-world-mill-en.js"></script>
	<script src="__ADMIN__assets/plugins/jvectormap/js/gdp-data.js"></script>
	<script src="__ADMIN__assets/plugins/gauge/gauge.min.js"></script>


	<!-- theme scripts -->
	<script src="__ADMIN__assets/js/SmoothScroll.js"></script>
	<script src="__ADMIN__assets/js/jquery.mmenu.min.js"></script>
	<script src="__ADMIN__assets/js/core.min.js"></script>
	<script src="__ADMIN__assets/plugins/d3/d3.min.js"></script>

	<!-- inline scripts related to this page -->
	<script src="__ADMIN__assets/js/pages/index.js"></script>


	<script src="__ADMIN__assets/js/jquery-2.1.1.min.js"></script>
	<script src="__ADMIN__layui/layui.all.js"></script>



	<!-- end: JavaScript-->

</body>
</html>
<<script type="text/javascript">

	var upload,form,laydate,table;
	layui.use(['upload','form','laydate','table'], function(){
		upload =layui.upload;
		form =layui.form;
		laydate =layui.laydate;
		table =layui.table;


	})

</script>
<block name="js"></block>